package com.example.mvvmdemo.home.ui;

import android.content.Context;
import android.content.Intent;
import android.widget.RadioGroup;

import com.example.mvvmdemo.R;
import com.example.mvvmdemo.databinding.ActivityMainBinding;
import com.example.mvvmdemo.home.data.MainViewModel;
import com.example.mvvmdemo.utils.ActivityUtils;
import com.example.mvvmlibrary.base.activity.BaseDataBindingActivity;

import dagger.hilt.android.AndroidEntryPoint;

@AndroidEntryPoint
public class MainViewBindingActivity extends BaseDataBindingActivity<ActivityMainBinding, MainViewModel> implements RadioGroup.OnCheckedChangeListener {

    public static void start(Context context) {
        Intent starter = new Intent(context, MainViewBindingActivity.class);
        context.startActivity(starter);
    }

    @Override
    protected int getLayoutID() {
        return R.layout.activity_main;
    }

    @Override
    protected void initData() {

    }

    @Override
    public MainViewModel getViewModel() {
        return viewModel;
    }

    @Override
    public void viewModuleCallBack(Object o) {

    }

    @Override
    public void onCheckedChanged(RadioGroup group, int checkedId) {

    }


}